//
//  WKAssetModel.m
//  Version1.0_RectiveCocoa
//
//  Created by ChiCo on 2018/1/30.
//  Copyright © 2018年 吴可高. All rights reserved.
//

#import "WKAssetModel.h"

@implementation WKAssetModel



+ (instancetype)modelWithAsset:(id)asset type:(WKAssetModelMediaType)type{
    WKAssetModel *model = [[WKAssetModel alloc] init];
    model.asset = asset;
    model.isSelected = NO;
    model.type = type;
    return model;
}

+ (instancetype)modelWithAsset:(id)asset type:(WKAssetModelMediaType)type timeLength:(NSString *)timeLength {
    WKAssetModel *model = [self modelWithAsset:asset type:type];
    model.timeLength = timeLength;
    return model;
}


@end
